TEMPLATE = lib
TARGET = coreplugin
DEFINES += COREPLUGIN_LIBRARY
QT += network \
    script \
    sql
CONFIG += help
include(../../pluginPlatformplugin.pri)
include(../plugins.pri)
#include(../../libs/utils/utils.pri)
#include(../../shared/scriptwrapper/scriptwrapper.pri)
#include(coreplugin_dependencies.pri)
win32-msvc*:QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
SOURCES += \
    mainwindow.cpp \
    coreplugin.cpp

HEADERS += \
    mainwindow.h \
    core_global.h \
    coreplugin.h

OTHER_FILES  = coreplugin.pluginspec


win32 {
#    SOURCES += progressmanager/progressmanager_win.cpp
    LIBS += -lole32
}
else:macx {
    OBJECTIVE_SOURCES += progressmanager/progressmanager_mac.mm
    LIBS += -framework AppKit
}
else:unix {
    SOURCES += progressmanager/progressmanager_x11.cpp

    IMAGE_SIZE_LIST = 16 24 32 48 64 128 256 512

    for(imagesize, IMAGE_SIZE_LIST) {
        eval(image$${imagesize}.files = images/logo/$${imagesize}/qtcreator.png)
        eval(image$${imagesize}.path = /share/icons/hicolor/$${imagesize}x$${imagesize}/apps)
        INSTALLS += image$${imagesize}
    }
}
#OTHER_FILES += editormanager/BinFiles.mimetypes.xml ide_version.h.in

#QMAKE_SUBSTITUTES += ide_version.h.in
